import Vue from 'vue'
import Vuex from 'vuex'
import todo from './todo'
import a from './a'
Vue.use(Vuex)

// 创建仓库
const store = new Vuex.Store({
  modules: {
    todo,
    a
  }
})
export default store
